<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <title><?php echo $this->page_title;?></title>
    <link rel="stylesheet" type="text/css" href="/style/css/base.css"/>
    <link rel="stylesheet" type="text/css" href="/style/css/swiper.min.css"/>
    <link rel="stylesheet" type="text/css" href="/style/css/xshop.css?ver=20170916" />
    <script src="/style/js/jquery-1.12.0.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="/style/js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="/style/js/xShop.js" type="text/javascript" charset="utf-8"></script>
    </head>
<body>
<div class="outwrap">
	<!--top-->	
	<!-- <div class="topbar clearfix topvh">
        <a href="/user/index" class="btn-back">
			<i class="ico-back"></i><span>账户管理</span>
		</a>
	</div> -->
  <div class="meinner-adr-add">
    <div class="iptform">
    <form action="" method="post">
      <div class="item-ipt">
        <a href="javascript:;" class="link-go clearfix"><span class="name nametx">头像</span><span class="xiugai"><em class="photo">
       
                  <?php if($this->user['wechat_headimgurl']) { ?>
                    <img src="<?=$this->user['wechat_headimgurl']?>">
                  <?php } else { ?> 
                    <img src="/style/wei/images/img2.png" >
                  <?php  } ?>
        </em><!-- <i class="ico-go"></i> --></span></a>
      </div>
      <div class="item-ipt">
        <a href="javascript:void(0)" class="link-go clearfix"><span class="name">昵称</span><span class="wordxg"><b class="account-name"><?=$this->user["realname"];?></b></span></a>
      </div>
      <div class="item-ipt">
        <a href="update_account?type=name" class="link-go clearfix"><span class="name">姓名</span><span class="wordxg"><b class="account-name"><?= empty($this->user["name"]) ? 暂未设置:$this->user["name"];?></b></span></a>
      </div>
      <div class="item-ipt">
        <a href="update_account?type=mobile" class="link-go clearfix"><span class="name">手机</span><span class="wordxg"><b><?=$this->user['mobile'];?></b><span>更改</span></span></a>
      </div>
      <!-- <div class="item-ipt">
        <a href="update_info" class="link-go clearfix"><span class="name">地区</span><span class="wordxg"><b><?php echo $this->data['region'][$this->data['info']['province_id']]."   ".$this->data['region'][$this->data['info']['city_id']]."  ".$this->data['region'][$this->data['info']['county_id']]?></b><span>更改</span></span></a>
      </div> -->
    <!-- <div class="item-ipt">
        <a href="update_pwd" class="link-go clearfix"><span class="name">修改密码</span><span class="wordxg"><b></b><span>更改</span></a>
      </div> -->
<!--      <div class="item-ipt">-->
<!--          <a href="/default/shouhuo" class="link-go clearfix">-->
<!--          <span class="name">地址管理</span>-->
<!--          </a>-->
<!--      </div>-->
    </form>

    </div>
    <?php if($this->cookie['app']){?>
     <div class="btnwrap">
     <a href="/passport/signout"><input type="button" class="btn-mexl btn-bc" value="退出账号" /></a>
    </div>
    <?php }?>
    </div>
  </div>
</div>

<!--底部导航-->
	<!-- <div class="foot-menu">
		<ul class="clearfix">
			<li><a href="/index/index"><i class="ico-1"></i><span>首页</span></a></li>
        
        <li><a href="/cart/cart"><i class="ico-5"></i><span>购物车</span></a></li>
        <li><a href="#"><i class="ico-3"></i><span>客服</span></a></li>
        <li class="on"><a href="/user/index"><i class="ico-4"></i><span>我的</span></a></li>
		</ul>
	</div> -->
</body>
</html>
